gdb-mingw-w64 software package provides Cross-debugger for Win32 and Win64 using MinGW-w64, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install gdb-mingw-w64
gdb-mingw-w64 is installed in your system.
Make ensure the gdb-mingw-w64 package were installed using the commands given below,
$ sudo dpkg-query -l | grep gdb-mingw-w64 *
You will get with gdb-mingw-w64 package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Development |
| Package | gdb-mingw-w64 |
| Version | 7.10-1ubuntu3+10.2 |
| Description | Cross-debugger for Win32 and Win64 using MinGW-w64 |
| Sub Section | Devel |